package com.peng.ivos.application.mapper;

import com.peng.ivos.application.pojo.dto.ApplicationQuery;
import com.peng.ivos.application.pojo.entity.Application;
import com.peng.ivos.application.pojo.vo.ApplicationVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 申请持久层接口
 * @author： Peng
 * @date： 2024/5/24
 * @version: 1.0
 */
@Mapper
public interface ApplicationMapper {
    int insertApplication(Application application);

    List<ApplicationVO> selectApplicationByExample(ApplicationQuery applicationQuery);

    int update(Application application);

    ApplicationVO selectApplicationById(Long applicationId);
}
